{config_load file="$language/affiliate.conf" section="affiliate_summary"}
<div class="boxx">
<div class="b_tit1">
 <div><div><div><h3>{#heading_title#}</h3></div></div></div>
</div>
<div class="rcon1">
 <div class="rcon2">
   <div class="rcon3">
   <div class="zx">
    {#text_greeting#} <b>{$affiliate.affiliate_firstname}&nbsp;{$affiliate.affiliate_lastname}</b><br />
    {#text_affiliate_id#} <b>{$affiliate.affiliate_id}</b>
   </div>
   <div class="hr"></div>
   <div class="zx">
    {$FORM_ACTION}<b>{#text_affiliate_period#}</b>{$period_selector}</form>
   </div>
   <div class="hr"></div>
   <div align="right">{#text_summary#}</div>
   <div class="zx">
        <table class="table" cellspacing="1">
          <tr><th>{#text_summary_title#}</th></tr>
          <tr>
            <td width="35%" align="right">{#text_impressions#}{$LINK_IMPRESSION}{#text_summary_help#}</a></td>
            <td width="15%">{$affiliate_impressions}</td>
            <td width="35%" align="right">{#text_visits#}{$LINK_VISIT}{#text_summary_help#}</a></td>
            <td width="15%">{$affiliate.clickthrough_count}</td>
          </tr>
          <tr>
            <td width="35%" align="right">{#text_transactions#}{$LINK_TRANSACTIONS}{#text_summary_help#}</a></td>
            <td width="15%">{$affiliate_transactions}</td>
            <td width="35%" align="right">{#text_conversions#}{$LINK_CONVERSION}{#text_summary_help#}</a></td>
            <td width="15%">{$affiliate_conversions}</td>
          </tr>
          <tr>
            <td width="35%" align="right">{#text_amount#}{$LINK_AMOUNT}{#text_summary_help#}</a></td>
            <td width="15%">{$affiliate_amount}</td>
            <td width="35%" align="right">{#text_average#}{$LINK_AVERAGE}{#text_summary_help#}</a></td>
            <td width="15%">{$affiliate_average}</td>
          </tr>
          <tr>
            <td width="35%" align="right">{#text_comission_rate#}{$LINK_COMISSION_RATE}{#text_summary_help#}</a></td>
            <td width="15%">{$affiliate_percent}</td>
            <td width="35%" align="right">{#text_comission#}{$LINK_COMISSION}{#text_summary_help#}</a></td>
            <td width="15%">{$affiliate_commission}</td>
          </tr>
        </table>
   </div>
   {if AFFILATE_USE_TIER == 'true'}
   <div class="zx">
      <table class="table" cellspacing="1">
		  {$affiliate_percent_tier_table}
      </table>
   </div>
   {/if}
   <div class="sd">
    <span class="r">{$LINK_BANNER}</span><span class="r">&nbsp;</span><span class="r">{$LINK_CLICKS}</span><span class="r">&nbsp;</span><span class="r">{$LINK_SALES}</span>
   </div>
   </div>
 </div>
</div>
<div class="bf"><div><div></div></div></div>
</div>


{literal}
<script language="javascript"><!--
function popupAffWindow(url) {
  window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=450,height=120,screenX=150,screenY=150,top=150,left=150')
}
//--></script>
{/literal}